import request from '@/utils/request'

export function get() {
  return request({
    url: '/report/customerAchievement',
    method: 'get'
  })
}

// 获取所有的平台树
export function getMenusTree() {
  return request({
    url: 'report/groupList',
    method: 'get'
  })
}

// 导出（查询）
export function exportCustom(params) {
  return request({
    url: 'report/exportCustomHSSFWorkbook',
    method: 'get',
    responseType: 'blob',
    params: params
  })
}
